brokerClusterName={{ rocketmq_cluster_name }}
brokerName={{ brokernames }}
brokerId={{ brokerids }}
namesrvAddr={% for nameserver in groups.rocketmq_namesrv %}{{ nameserver }}:{{rocketmq_ns_port}}{% if not loop.last %};{% endif %}{% endfor %}

brokerIP1={{ inventory_hostname }}
listenPort={{ rocketmq_broker_s_port }}

autoCreateTopicEnable=true
sendMessageThreadPoolNums=128
deleteWhen=04
fileReservedTime=48
diskMaxUsedSpaceRatio=90
maxMessageSize=65536
useReentrantLockWhenPutMessage=true
waitTimeMillsInSendQueue=300

brokerRole=SLAVE
flushDiskType=ASYNC_FLUSH

storePathRootDir={{ rocketmq_data_s }}
storePathCommitLog={{ rocketmq_data_s }}/commitlog
storePathConsumeQueue={{ rocketmq_data_s }}/consumequeue
storePathIndex={{ rocketmq_data_s }}/index
storeCheckpoint={{ rocketmq_data_s }}/checkpoint
abortFile={{ rocketmq_data_s }}/abort
